package com.hexinfo.dmpro.data.transfer.common.service;

import com.hexinfo.dmpro.data.transfer.common.model.CdhColumnsEntity;
import com.hexinfo.dmpro.data.transfer.common.model.CdhDbsEntity;
import com.hexinfo.dmpro.data.transfer.common.model.CdhFieldEntity;
import com.hexinfo.dmpro.data.transfer.common.model.CdhTblsEntity;

import java.util.List;

public interface ICdhMetadataService {

    List<CdhDbsEntity> queryAllDatabase();

    List<CdhTblsEntity> queryTableListByDatabase(String database);

    List<CdhFieldEntity> queryPartitionList(String database, String table);

    List<CdhFieldEntity> queryColumnList(String database, String table);

    List<CdhColumnsEntity> queryTableByFieldName(String fieldName);
}
